package com.example.tool.erp.sdk.api.goods.dto;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;
import java.util.List;

public class GoodsCategorySearchResponse
{

	@SerializedName("category_list") private List<Category> categoryList;
	@SerializedName("total_count") private Integer total;

	public static class Category
	{
		@SerializedName("rec_id") private Integer recId;
		@SerializedName("platform_id") private Integer platformId;
		@SerializedName("shop_no") private String shopNo;
		@SerializedName("shop_id") private Integer shopId;
		@SerializedName("commission_factor") private BigDecimal commissionFactor;
		@SerializedName("status") private Integer status;
		@SerializedName("parent_id") private String parentId;
		@SerializedName("is_leaf") private Integer isLeaf;
		@SerializedName("cid") private String cid;
		@SerializedName("category_name") private String categoryName;
		@SerializedName("path") private String path;

		public Integer getRecId()
		{
			return recId;
		}

		public void setRecId(Integer recId)
		{
			this.recId = recId;
		}

		public Integer getPlatformId()
		{
			return platformId;
		}

		public void setPlatformId(Integer platformId)
		{
			this.platformId = platformId;
		}

		public String getShopNo()
		{
			return shopNo;
		}

		public void setShopNo(String shopNo)
		{
			this.shopNo = shopNo;
		}

		public Integer getShopId()
		{
			return shopId;
		}

		public void setShopId(Integer shopId)
		{
			this.shopId = shopId;
		}

		public BigDecimal getCommissionFactor()
		{
			return commissionFactor;
		}

		public void setCommissionFactor(BigDecimal commissionFactor)
		{
			this.commissionFactor = commissionFactor;
		}

		public Integer getStatus()
		{
			return status;
		}

		public void setStatus(Integer status)
		{
			this.status = status;
		}

		public String getParentId()
		{
			return parentId;
		}

		public void setParentId(String parentId)
		{
			this.parentId = parentId;
		}

		public Integer getIsLeaf()
		{
			return isLeaf;
		}

		public void setIsLeaf(Integer isLeaf)
		{
			this.isLeaf = isLeaf;
		}

		public String getCid()
		{
			return cid;
		}

		public void setCid(String cid)
		{
			this.cid = cid;
		}

		public String getCategoryName()
		{
			return categoryName;
		}

		public void setCategoryName(String categoryName)
		{
			this.categoryName = categoryName;
		}

		public String getPath()
		{
			return path;
		}

		public void setPath(String path)
		{
			this.path = path;
		}
	}

	public List<Category> getCategoryList()
	{
		return categoryList;
	}

	public void setCategoryList(List<Category> categoryList)
	{
		this.categoryList = categoryList;
	}

	public Integer getTotal()
	{
		return total;
	}

	public void setTotal(Integer total)
	{
		this.total = total;
	}
}
